Repository navigation
ci: CI-hygiene pass — a2ml identity, codeql, secret gates, e2e test fix - #16
Merged
Merged
Conversation
Add identity fields (name, project, schema_version) to all .a2ml files that lacked them — contractiles (Adjust/Bust/Dust/Intent/Must/Trust), bot_directives (coverage, debt, git-private-farm, gitbot-fleet, hypatia, methodology), 6a2 (AGENTIC, ECOSYSTEM, NEUROSYM, PLAYBOOK, anchor/*, 0-AI-MANIFEST), CLADE, and root 0-AI-MANIFEST. Also add SPDX headers to the markdown-format manifests and anchor files. CODEOWNERS: update stale root `contractiles/` path to `.machine_readable/contractiles/` (the flat 06-12 estate layout). CodeQL: switch matrix language from `javascript-typescript` to `actions` — no JS/TS source in this repo; `actions` scans workflow files per Hypatia recommendation. CompatHelper: `julia-actions/CompatHelper@v1` could not be SHA-pinned (registry unreachable from this environment); left as-is with this note. https://claude.ai/code/session_01PWMMxryCcPrAjJ8tuGvygG
mirror.yml: add `if: \${{ secrets.X_SSH_KEY != '' }}` guards to each
ssh-agent step and mirror step that references a secret, so jobs skip
gracefully when secrets are absent rather than failing.
instant-sync.yml: add presence gate for FARM_DISPATCH_TOKEN on the
Trigger Propagation step; also move the orphaned K9-SVC Validation step
(which was floating at the jobs level — invalid YAML) inside the
dispatch job.
https://claude.ai/code/session_01PWMMxryCcPrAjJ8tuGvygG
all(u .>= 0.0 for u in sol.u) fails on Julia 1.10 with
TypeError: non-boolean (BitVector) used in boolean context
because sol.u is Vector{Vector{Float64}}, so each u .>= 0.0 is a
BitVector. Fix: all(all(u .>= 0.0) for u in sol.u).
The 124 @testset tests all pass; only this e2e assertion was broken.
https://claude.ai/code/session_01PWMMxryCcPrAjJ8tuGvygG
🔍 Hypatia Security ScanFindings: 19 issues detected
View findings[
{
"reason": "Action julia-actions/CompatHelper@v1 needs attention",
"type": "unpinned_action",
"file": "CompatHelper.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "codeql.yml lists `language: javascript-typescript` but the repo has no source files in any CodeQL-scannable language. The analyze job will exit 'no source files' on every run. Switch the matrix to `actions` (which scans workflow files — every repo has those).",
"type": "codeql_language_matrix_mismatch",
"file": "codeql.yml",
"action": "switch_codeql_matrix_to_actions",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in scorecard-enforcer.yml",
"type": "scorecard_publish_with_run_step",
"file": "scorecard-enforcer.yml",
"action": "split_scorecard_publish_job",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in codeql.yml",
"type": "codeql_missing_actions_language",
"file": "codeql.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Nominal-only SAST in Cliodynamics.jl: codeql.yml language matrix contains no language present in the repo and lacks `actions`, so CodeQL records zero results on every commit. Remediation: set the CodeQL matrix to `language: actions`.",
"type": "StaticAnalysis",
"file": "/home/runner/work/Cliodynamics.jl/Cliodynamics.jl",
"action": "auto_fix",
"rule_module": "scorecard",
"severity": "medium",
"remediation": "Add CodeQL or equivalent SAST workflow.",
"scorecard_check": "SAST"
},
{
"reason": "1 workflow(s) with tag-pinned (not SHA-pinned) actions in Cliodynamics.jl",
"type": "DependencyPinning",
"file": "/home/runner/work/Cliodynamics.jl/Cliodynamics.jl",
"action": "auto_fix",
"rule_module": "scorecard",
"severity": "medium",
"remediation": "Pin GitHub Actions and Docker base images by SHA hash.",
"scorecard_check": "Pinned-Dependencies"
},
{
"reason": "Repository has 5 non-main remote branch(es). Policy: single main branch only.",
"type": "GS007",
"file": ".",
"action": "delete_remote_branches",
"rule_module": "git_state",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/workflow_audit/secret_action_without_presence_gate -- Hypatia workflow_audit: secret_action_without_presence_gate -- 1 day(s) old",
"type": "CSA001",
"file": "mirror.yml",
"action": "update",
"rule_module": "code_scanning_alerts",
"severity": "high"
},
{
"reason": "Code scanning (Hypatia): hypatia/workflow_audit/secret_action_without_presence_gate -- Hypatia workflow_audit: secret_action_without_presence_gate -- 1 day(s) old",
"type": "CSA001",
"file": "mirror.yml",
"action": "update",
"rule_module": "code_scanning_alerts",
"severity": "high"
},
{
"reason": "Code scanning (Hypatia): hypatia/workflow_audit/secret_action_without_presence_gate -- Hypatia workflow_audit: secret_action_without_presence_gate -- 1 day(s) old",
"type": "CSA001",
"file": "mirror.yml",
"action": "update",
"rule_module": "code_scanning_alerts",
"severity": "high"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CI-hygiene pass on top of the 06-12 standardization (PR #15, already merged to main).
name,project,schema_versionfields to all 27.a2mlfiles that lacked them (contractiles, bot_directives, 6a2/*, CLADE, anchor manifests, root 0-AI-MANIFEST). All files now have SPDX header + identity + version.javascript-typescript(no JS/TS source → "no source files" every run) toactions(scans workflow files, per Hypatia recommendation).mirror.yml: each ssh-agent + mirror step now guarded byif: ${{ secrets.X_SSH_KEY != '' }};instant-sync.yml: FARM_DISPATCH_TOKEN step gated + orphaned K9-SVC step (floating at jobs level — invalid YAML) moved inside the dispatch job.contractiles/path updated to.machine_readable/contractiles/(06-12 flat layout).test/e2e_test.jl:22:all(u .>= 0.0 for u in sol.u)→all(all(u .>= 0.0) for u in sol.u). The 124 main testset tests all pass on CI; only this e2e assertion throwsTypeError: non-boolean (BitVector) used in boolean contextbecausesol.uisVector{Vector{Float64}}.Test plan
pedigree.metadata.name; expect pass unchangedNotes
julia-actions/CompatHelper@v1SHA could not be resolved from this environment; left unpinned with note in commit message (advisory, not blocking).scorecard_publish_with_run_stepHypatia finding noted as follow-up; not trivially fixable in this pass.pedigree.metadata.namevalues — no changes needed.https://claude.ai/code/session_01PWMMxryCcPrAjJ8tuGvygG
Generated by Claude Code